package ${basePackage};
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
* @author ${author}
* @date ${.now?string('yyyy/MM/dd')}
*/
@SpringBootApplication
@MapperScan("${basePackage+".mapper"}")
public class ${contextConfig.projectName?cap_first}Application extends SpringBootServletInitializer{
	
	@Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(${contextConfig.projectName?cap_first}Application.class);
    }
    public static void main(String[] args) {
        SpringApplication.run(${contextConfig.projectName?cap_first}Application.class,args);
    }
}